<div class="wrapper">
    <table class="table table-bordered">
        <tr>
            <th>SequenceNo</th>
            <th>Name</th>
            <th>Code</th>
            <th>值</th>
            <th>Note</th>
            <th>Valid</th>
            <th>区域Id</th>
            <th>分类</th>
            <th style="width: 80px;">ActionList</th>
        </tr>
        <#if list??&&list?size gt 0>
        <#list list as t>
        <tr>
            <td>${t_index+1}</td>
            <td>${(t.name)!}</td>
            <td>${(t.code)!}</td>
            <td>${(t.value)!}</td>
            <td>${(t.remark)!}</td>
            <td>${(t.valid)?string('Valid','Invalid')}</td>
            <td>${(t.departmentId)!}</td>
            <td>${(t.catagory)!}</td>
            <td style="width: 80px;">
                <a onclick="HF.showDialog('${base}/admin/discount/operate?id=${t.id}')" href="#">选择</a>
            </td>
        </tr>
    </#list>
    <#else>
    <tr>
        <td colspan="11" align="center">no record!</td>

    </tr>
</#if>
</table>
</div>